#include <stdio.h>
#include <math.h>

int main() 
{
    float a = 0;
    float b = 0;
    float c = 0;
    a >= 0 && a <= 100000;
    b >= 0 && b <= 100000;
    c >= 0 && c <= 100000;
    a + b > c && a + c > b && b + c > a;

    scanf("%f %f %f",&a,&b,&c);
    double C = a + b + c;
    double p = C / 2;
    float S = sqrt(p*(p-a)*(p-b)*(p-c));

    printf("circumference=%.2f area=%.2f",C,S);

    return 0;
}